package com.edais.persistence.advert;

import com.edais.domain.advert.BannerManage;

import java.util.List;
import java.util.Map;

public interface BannerManageMapper {
    int deleteByPrimaryKey(Long id);

    int insert(BannerManage record);

    int insertSelective(BannerManage record);

    BannerManage selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(BannerManage record);

    int updateByPrimaryKey(BannerManage record);

    List<BannerManage> selectByType(Map<String,Object> params);

    int countByType(Map<String,Object> params);

    BannerManage queryAppStartBanner();

}